﻿@using Inovout.Kuajing.Exports.Models
@model IEnumerable<Inovout.Kuajing.Exports.Models.TraditionalOrder>
@{
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}

<div>
    <table class="table table-hover">
        <thead>
            <tr>
                <th>订单号
                </th>
                <th>联系人
                </th>
                <th>联系方式
                </th>
                <th>出口商
                </th>
                <th>出口国
                </th>
                <th>交易方</th>
                <th>出口数量
                </th>
                <th>订单日期
                </th>
        </thead>
        <tbody>
            @{
                foreach (TraditionalOrder order in Model)
                {

                <tr>
                    <td><a href='@Url.Action("LocateExporter", new { orderId = @order.Id })'>@order.Id</a></td>
                    <td>@order.ContactName</td>
                    <td>@order.ContactMobile</td>
                    <td>@order.Exporter.Membership.Name
                    </td>
                    <td>@order.ExportCountryName
                    </td>
                     <td>@order.Consignee.Organization.Name
                    </td>
                    <td>@order.PackageNum
                    </td>
                    <td>@order.ExpectedDeclarationDate</td>
                </tr>
                }
            }
        </tbody>

    </table>
</div>

